import { Route } from 'react-keeper'
import User from './user/'
import Certificate from './certificate/'
import Eng from './eng/'
import Yeji from './yeji/'

const PageMyInfo = (cb) => {
  require.ensure([], () => cb(require('./PageMyInfo.jsx')), 'myinfo')
}


export default {
  route: () => (
    <div>
      <Route loadComponent={PageMyInfo} path='/myinfo'>
        <User.route/>
        <Certificate.route/>
        <Eng.route/>
        <Yeji.route/>
      </Route>
    </div>)
};
